package com.qffx.moviebase.view;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import android.widget.Toast;

import com.qffx.moviebase.R;

/**
 * A simple {@link Fragment} subclass.
 */
public class FindFollowFragment extends Fragment {

    private View view;
    private TextView follow_tv;

    public FindFollowFragment() {
        // Required empty public constructor
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        view = inflater.inflate(R.layout.fragment_find_follow, container, false);
        init();
        return view;
    }

    private void init() {
        follow_tv = (TextView) view.findViewById(R.id.follow_tv);
        follow_tv.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Toast.makeText(getActivity(), "aaa", Toast.LENGTH_SHORT).show();
            }
        });
    }

}
